package com.zrx.govern.component.easyexcel.starter.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author zhangxiaowei
 */
@Data
@RefreshScope
@ConfigurationProperties(prefix = ExcelConfigProperties.PREFIX)
public class ExcelConfigProperties {
	static final String PREFIX = "excel";

	/**
	 * 模板路径
	 */
	private String templatePath = "excel";

	/**
	 * 生成临时文件路径
	 */
	private String fileTempPath = "temp";
	/**
	 * 默认配置的json文件名称
	 */
	private String jsonFile = "ExcelFields.json";
	/**
	 * 进度开关
	 */
	private Boolean processSwitch = true;

}
